[paket]
tanim   = Windows şifre kırıcı
paketci = Cihan_Alkan
grup 	= sistem
url     = http://ophcrack.sourceforge.net

[gerek]
derleme =  
calisma =   

[kaynak]
gz     = https://www.torproject.org/dist
1 = https://crux.ster.zone/ports/romster/tor/tor.rc

[md5]
#1 		= 9271c5d2dc366d61f73665a5e8bceabc

[derle]
betik = PATH=$(echo ${PATH} | awk -v RS=: -v ORS=: '/~/ {next} {print}' | sed 's/:*$//')
ekconf 	=  --enable-system-torrc --disable-libfuzzer --disable-rust
tip = gnu	
      
[pakur]
tip = gnu
betik =  install -d $PKG/var/lib/tor
betik =  chown tor:tor $PKG/var/lib/tor
betik =  touch $PKG/var/lib/tor/cached-certs $PKG/var/lib/tor/cached-consensus $PKG/var/lib/tor/cached-descriptors $PKG/var/lib/tor/cached-descriptors.new $PKG/var/lib/tor/cached-routers.new $PKG/var/lib/tor/state
betik =  find $PKG/var/lib/tor/ -type f -execdir chown tor:tor {} \; -execdir chmod 0600 {} \;
betik =  mv $PKG/etc/tor/torrc.sample $PKG/etc/tor/torrc
betik =  sed -i -e 's|^#RunAsDaemon 1$|RunAsDaemon 1|' -e 's|^#Log notice file /|Log notice file /|' -e 's|^#DataDirectory /|DataDirectory /|' $PKG/etc/tor/torrc
betik =  find $PKG/etc/tor/ -type f -exec chown root:tor {} \; -execdir chmod 0640 {} \;

        # programs
betik =  find $PKG/usr/bin -type f -execdir chown root:tor {} \; -execdir chmod 0750 {} \;

        # logs
betik =  install -d $PKG/var/log/tor
betik =  chown tor:tor $PKG/var/log/tor
betik =  touch $PKG/var/log/tor/notices.log
betik =  find $PKG/var/log/tor/ -type f -exec chown tor:tor {} \; -execdir chmod 0640 {} \;

        # service
betik =  install -m 0750 -D /sources/tor.rc $PKG/etc/rc.d/init.d
